//
//  MessageCell.m
//  sensen_ios
//
//  Created by pro on 16/2/23.
//  Copyright © 2016年 pro. All rights reserved.
//

#import "MessageCell.h"

@interface MessageCell ()
@property (weak, nonatomic) IBOutlet UIImageView *imgView;
@property (weak, nonatomic) IBOutlet UILabel *titleLabel;
@property (weak, nonatomic) IBOutlet UILabel *contentLabel;

@end

@implementation MessageCell

- (void)awakeFromNib {
    _titleLabel.text = @"森森消费者网购研究";
    _contentLabel.text = @"暂无消息";
}

- (void)setTitle:(NSString *)title {
    _title = title;
    
    _titleLabel.text = _title;
}
-(void)setImageType:(NSString *)imageType{
    _imageType = imageType;
    _imgView.image = [UIImage imageNamed:imageType];
}
- (void)setSystemModel:(SystemModel *)systemModel{
    _systemModel = systemModel;
    _contentLabel.text = _systemModel.summary;
}
-(void)setOderModel:(OrderMessageModel *)oderModel{
    _oderModel = oderModel;
    _contentLabel.text = _oderModel.content;
}
@end
